php forum
php mysql forum
php mysql smarty
 
Page 1 of 6 1 2 3 4 5 6 >
Topic Options
#202555 - 04/02/04 06:43 AM [6.7] [beta] Hit Hack
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Modification Name: Hit Hack

Author(s): Brett

Description: Shows hits in forum summary/page

Demo: http://www.pavioni.com/ubb/ultimatebb.php

Requirements: UBB 6.7, Mod Wordlets

Download Link: http://www.ubbdev.com/ubb/upload/00006378/HitHack6.7.zip

Credits: LK, e@sy, qasic, cal

IF THE NUMBERS ARE NOT SHOWING UP, PLEASE VERIFY THAT UBB_HITS.CGI IS CHMODed TO 755 - Ian

Top
#202556 - 04/02/04 10:21 AM Re: [6.7] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
thank you smile

I ported it for use on my personal site, but it'll be good to check my results against yours smile
_________________________
- Allen wavey
- What Drives You?

Top
#202557 - 04/02/04 01:44 PM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
pretty much all I edited was a use vars(%hits) in ultimatebb and it all worked

Top
#202558 - 04/02/04 02:18 PM Re: [6.7] [beta] Hit Hack
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
there were a couple parts where the find parts were not there, it wasn't that simple. wink

Top
#202559 - 04/02/04 02:29 PM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
"pretty much" wink

Top
#202560 - 04/02/04 02:31 PM Re: [6.7] [beta] Hit Hack
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Ok, havin a little trouble finding the parts in cp_prune.cgi, tipsy

Top
#202561 - 04/02/04 02:37 PM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
did you look at Allen's 6.6 version? he posted it in the 6.4 thread

Top
#202562 - 04/02/04 03:00 PM Re: [6.7] [beta] Hit Hack
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
No, didn't see that...

Top
#202563 - 04/02/04 04:43 PM Re: [6.7] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Hi Brett,

I tested your hit-hack at your test-board and it seems to be that your hack does not work correctly, if I click the same thread 2,3 or 4 times it counts only 1 hit...

A cache problem?

Allens one works fine with cache and ultimatebb.php
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#202564 - 04/03/04 05:42 AM Re: [6.7] [beta] Hit Hack
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
It's my understanding that it should only see one hit as it's one person viewing the thread... Uniqueness and all...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#202565 - 04/06/04 11:56 AM Re: [6.7] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
No, I don't think I built any uniqueness system into Hit Hack...
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#202566 - 04/08/04 03:44 PM Re: [6.7] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
buglet:

Code:
*********************
* Open cp2_content.cgi *
*********************

Find: (~275)
=====

		# delete topic file
		&Unlink("$vars_config{NonCGIPath}/$exact_path/$_.cgi");
needs to be changed to:

Code:
*********************
* Open cp2_content.cgi *
*********************

Find: (~1093)
=====

		# delete topic file
		&Unlink("$vars_config{NonCGIPath}/$exact_path/$topic.cgi");
tho this may only affect 6.7.1 smile
_________________________
- Allen wavey
- What Drives You?

Top
#202567 - 04/09/04 12:27 PM Re: [6.7] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
_________________________
- Allen wavey
- What Drives You?

Top
#202568 - 04/09/04 12:49 PM Re: [6.7] [beta] Hit Hack
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Allen, does the MHP include your little buglet for 6.7.1? If so you may need to update if the error was just in 6.7...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#202569 - 04/09/04 02:33 PM Re: [6.7] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
I haven't checked 6.7 recently, the mhp uploaded was tested against the 6.7.1 you see installed there smile
_________________________
- Allen wavey
- What Drives You?

Top
#202570 - 05/15/04 03:14 PM Re: [6.7] [beta] Hit Hack
havoq Offline
Member

Registered: 09/11/01
Posts: 667
Loc: MI
Anyone know if hit hack will ever support Opera? Not working in the newest ver of opera
_________________________
-Jon
I have a measly [img]http://www.ubbdev.com/ud/?u=chugger93&s=1[/img] points, it's weak, I know wink
Where I continue to hack, even though it's a state of mind

Top
#202571 - 05/15/04 03:18 PM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
It should work perfectly. Go to my forums, you don't see the hits?

This is BASIC js, it's more of an Opera supporting the hit hack

Top
#202572 - 05/15/04 03:26 PM Re: [6.7] [beta] Hit Hack
havoq Offline
Member

Registered: 09/11/01
Posts: 667
Loc: MI
No Ian, I dont see the hits, lol. Open up Opera browser if you have it installed. Im tellin ya, it doesnt show hits
_________________________
-Jon
I have a measly [img]http://www.ubbdev.com/ud/?u=chugger93&s=1[/img] points, it's weak, I know wink
Where I continue to hack, even though it's a state of mind

Top
#202573 - 05/15/04 04:27 PM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
would you look again? (you might have to refresh)

Top
#202574 - 05/15/04 05:25 PM Re: [6.7] [beta] Hit Hack
havoq Offline
Member

Registered: 09/11/01
Posts: 667
Loc: MI
now it works, what'd u do differntly?
_________________________
-Jon
I have a measly [img]http://www.ubbdev.com/ud/?u=chugger93&s=1[/img] points, it's weak, I know wink
Where I continue to hack, even though it's a state of mind

Top
#202575 - 05/15/04 05:25 PM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
changed that appendchild(createTextNode()) thing to innerHTML =

Top
#202576 - 05/15/04 05:32 PM Re: [6.7] [beta] Hit Hack
havoq Offline
Member

Registered: 09/11/01
Posts: 667
Loc: MI
Ok, I'll look into the code later, (leaving for the seinfeld show now) what file is that stored in off hand? Thanks, wink
_________________________
-Jon
I have a measly [img]http://www.ubbdev.com/ud/?u=chugger93&s=1[/img] points, it's weak, I know wink
Where I continue to hack, even though it's a state of mind

Top
#202577 - 05/15/04 05:38 PM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
ubb_hits.cgi

Top
#202578 - 05/16/04 02:01 AM Re: [6.7] [beta] Hit Hack
havoq Offline
Member

Registered: 09/11/01
Posts: 667
Loc: MI
so something like ...

Code:
document.getElementById('hit$_').innerHTML="$hits{$_}";n~;
?
_________________________
-Jon
I have a measly [img]http://www.ubbdev.com/ud/?u=chugger93&s=1[/img] points, it's weak, I know wink
Where I continue to hack, even though it's a state of mind

Top
#202579 - 05/16/04 05:58 AM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
yeah, do that for all the lines that had "createTextNode" in them

Top
#202580 - 05/16/04 09:58 AM Re: [6.7] [beta] Hit Hack
Painfool Offline
Member

Registered: 08/14/00
Posts: 182
Ian is that a "bug fix" or a one off ?

Should we all do it i guess is the question smile

Top
#202581 - 05/16/04 10:19 AM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
It would make it support the big 4 (Mozilla, IE, Opera, Netscape), however, since it's not my mod, it's up to Brett if he wants to add it

Top
#202582 - 05/16/04 10:23 AM Re: [6.7] [beta] Hit Hack
havoq Offline
Member

Registered: 09/11/01
Posts: 667
Loc: MI
Hmmm, I have 3 lines of total code in ubb_hits.cgi

I've changed all 3 to what you said. For example:

Code:
document.getElementById('hitf$forums[$_]').innerHTML="$hits{forum} $vars_wordlets_mods{count_on_click_lowercase}";
Code:
document.getElementById('hitt$forums[$_]').innerHTML="$hits{$topics[$_]} $vars_wordlets_mods{count_on_click_lowercase}";n~;
AND

Code:
document.getElementById('hit$_').innerHTML="$hits{$_}";n~;
Still cant show up in Opera. Is that correct syntax? I'll keep workin on this one wink
_________________________
-Jon
I have a measly [img]http://www.ubbdev.com/ud/?u=chugger93&s=1[/img] points, it's weak, I know wink
Where I continue to hack, even though it's a state of mind

Top
#202583 - 05/16/04 10:30 AM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Try this also, forgot the other change I made.

In ubb_hits.cgi
FIND:
Code:
if (is_ie5up || is_gecko
ADD AFTER:
Code:
 || agt.indexOf("opera")

Top
#202584 - 05/16/04 10:41 AM Re: [6.7] [beta] Hit Hack
havoq Offline
Member

Registered: 09/11/01
Posts: 667
Loc: MI
Works Perfect tipsy

Thanks for the hack Ian thumbsup
_________________________
-Jon
I have a measly [img]http://www.ubbdev.com/ud/?u=chugger93&s=1[/img] points, it's weak, I know wink
Where I continue to hack, even though it's a state of mind

Top
#202585 - 05/16/04 11:00 AM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Quote:
Originally posted by havoq:

Works Perfect tipsy

Thanks for the hack Ian thumbsup



haha, thank Brett for the hack, thank me for 2 lines of code, one of which Brett taught me tipsy

Top
#202586 - 05/16/04 11:12 AM Re: [6.7] [beta] Hit Hack
havoq Offline
Member

Registered: 09/11/01
Posts: 667
Loc: MI
lol, well then, props to Brett as well! Thanks buddy wink
_________________________
-Jon
I have a measly [img]http://www.ubbdev.com/ud/?u=chugger93&s=1[/img] points, it's weak, I know wink
Where I continue to hack, even though it's a state of mind

Top
#202587 - 05/20/04 11:13 PM Re: [6.7] [beta] Hit Hack
The Finman Offline
Member

Registered: 07/26/02
Posts: 42
I could probably figure this out for myself, but I would like to change the displayed wording of "Hits" to "Views". wink

Thanks for any help. smile
_________________________

Top
#202588 - 05/20/04 11:18 PM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
change
Code:
	q!count_on_click! => q!Hits!,
	q!count_on_click_lowercase! => q!hits!,
to

Code:
	q!count_on_click! => q!Views!,
	q!count_on_click_lowercase! => q!views!,

Top
#202589 - 05/20/04 11:32 PM Re: [6.7] [beta] Hit Hack
The Finman Offline
Member

Registered: 07/26/02
Posts: 42
Quote:
Originally posted by Ian Spence:

change
Code:
	q!count_on_click! => q!Hits!,
	q!count_on_click_lowercase! => q!hits!,
to

Code:
	q!count_on_click! => q!Views!,
	q!count_on_click_lowercase! => q!views!,


Thanks Ian, you totally ROCK! thumbsup
_________________________

Top
#202590 - 05/22/04 04:11 PM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Brett, anyway to get this to update with mass move?
I just combined 2 of my forums, and all the moved posts had their counters reset

Top
#202591 - 06/08/04 11:59 AM Re: [6.7] [beta] Hit Hack
RoxSeibert Offline
Member

Registered: 02/20/03
Posts: 178
Loc: highspire, pa
Quote:
Originally posted by Brett:

Requirements: UBB 6.7, Mod Wordlets


I'm having trouble finding "Mod Wordlets" up here... is this a 6.4-6.7 Mod?
_________________________
~=Rox
http://dragboatalley.com/cgi-bin/ultimatebb.cgi

dangerously inspired by ubbdev,
but i still absolutely HATE perl.

Top
#202592 - 06/08/04 07:01 PM Re: [6.7] [beta] Hit Hack
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
Interesting error. Example... A thread listed in the last post column under a category and in a forum will display 6 hits from the main board.

When I click on the category to view all forums in that category, it will say that thread that was in the last post column has 66 hits.

When I go to view that post in that forum, and then click back to the category, it will say that the thread has 77 hits. When I go back out to the all category listing, it shows that the last post has 7 hits.

Help please? smile

-Thanks again
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202593 - 06/08/04 07:07 PM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
appears to be working for me confused

Top
#202594 - 06/08/04 07:15 PM Re: [6.7] [beta] Hit Hack
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
Ian, I apologize, but that link in the sig is still for the test board, not production. I will PM you the link to that board. This applies to the same board but it got moved and cats and forums added.
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202595 - 06/08/04 07:16 PM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
sure, and gimme ftp access to that one so I can fix it then act like it was always working laugh

This is not a bug with this hack. Somehow I managed to upload a test ubb_hits.cgi file that had both innerHTML and appendChild, making everything appear twice

Top
#202596 - 07/20/04 11:54 AM Re: [6.7] [beta] Hit Hack
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
Has this been updated with the fixes listed in the thread here?

Top
#202597 - 08/05/04 08:10 PM Re: [6.7] [beta] Hit Hack
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
Hmm, it appears as if that hit hack is not working for my under the last post section. All of the posts in Last Posts show 0 hits. When I click it and go back, nothing registers... Any ideas? As always, thanks in advance...
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202598 - 08/05/04 08:20 PM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
don't click back, go back to the main page. it works for me

Top
#202599 - 08/05/04 11:17 PM Re: [6.7] [beta] Hit Hack
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
OK.. I take that back. Some are working and some are not. I'm not sure what the common denominator might be. Check some of the posts lower in the forums. An example would be under traveling, and packing tips.
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202600 - 08/06/04 01:23 AM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
I'm pretty sure it's cause you don't have at least one post in each forum

Top
#202601 - 08/07/04 10:36 PM Re: [6.7] [beta] Hit Hack
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
I think it's very strange. Check out the polls section, there is only one forum in that category, it has posts in it, and it doesn't show hits.?

Other categories don't have post in every forum and some forums are counting and others are not. I just posted a new topic in a forum that had no posts in it and it isn't counting hits but other existing forums with posts in them are? I don't get it...
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202602 - 08/07/04 11:26 PM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
I'm pretty sure it's cause you don't have at least one post in each forum

make a post in every forum

Top
#202603 - 09/02/04 05:47 PM Re: [6.7] [beta] Hit Hack
Delw Offline
Member

Registered: 12/15/01
Posts: 110
Loc: az
I installed the hithack version, and it doesnt show on my board http://www.huntandlodge.com/cgi-bin/ultimatebb.cgi

We dont show howmany hits are on each topic( I havent enabled that).
do I need to enable that in oder to see the page? I really dont want to if I dont have to.

Thanks
Delw

Top
#202604 - 09/02/04 05:51 PM Re: [6.7] [beta] Hit Hack
Delw Offline
Member

Registered: 12/15/01
Posts: 110
Loc: az
Oh my bad I got this hack confused with the statistic hack, Sorry


Delw

Top
#202605 - 10/25/04 10:40 PM Re: [6.7] [beta] Hit Hack
Tiger66 Offline
Member

Registered: 03/31/04
Posts: 58
Loc: Israel
I added this hack, but on the hits column instead of the cell where it should say "Hits" there's just an empty cell ,other numbers shows fine, any advices?

Top
#202606 - 10/25/04 10:45 PM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
you have the Wordlets Mod installed?

Top
#202607 - 10/26/04 05:49 AM Re: [6.7] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Hello,

I've got this error:

http://www.med-forum.board-world.de/test.jpg

Can someone please help me?

Thanks
d-talk

Edit by Ian Spence:

Changed [img] to [url] to prevent stretching of page
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#202608 - 10/26/04 06:23 PM Re: [6.7] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
I can't tell what's wrong, it's all in french or something...
_________________________
- Allen wavey
- What Drives You?

Top
#202609 - 10/26/04 07:03 PM Re: [6.7] [beta] Hit Hack
Tiger66 Offline
Member

Registered: 03/31/04
Posts: 58
Loc: Israel
I would guess he gets a similar problem to mine only for him it doesn't even show numbers and for me it does

Anyway I had the Wortlets Mods installed but I removed this hack, it slows my board too much

Great hack tho

Top
#202610 - 10/26/04 09:42 PM Re: [6.7] [beta] Hit Hack
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Loooks more german than french; but i'm a little rusty
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#202611 - 10/27/04 03:58 AM Re: [6.7] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Yes, it don't shows the numbers.... Mods wordlets is installed...
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#202612 - 10/27/04 05:05 AM Re: [6.7] [beta] Hit Hack
Charles Offline

Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
Quote:
Originally posted by Gizzy:

Loooks more german than french; but i'm a little rusty

I second that, shame on you allen tipsy

edit: and I would say the problems comes from hit.cgi
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#202613 - 03/14/05 11:17 PM Re: [6.7] [beta] Hit Hack
jsteinborn Offline
Junior Member

Registered: 12/05/01
Posts: 20
I installed this hack on a 6.7 board. It works when i click directly to a post but when i click on the category heading i get this

Code:
 (RequireCodeNoINC) NonCGIPath/Templates/public_forum_page.pl: syntax error at NonCGIPath/Templates/public_forum_page.pl line 476, near "my $last_post_link = ($vars_display{LastPostColOpt} =~ m/LINK|NOTIME/"
Compilation failed in require at CGIPath/ubb_lib.cgi line 928.
 
Am i missing something?

Top
#202614 - 03/15/05 12:12 AM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
rehack public_forum_page.pl

Top
#202615 - 03/15/05 11:24 AM Re: [6.7] [beta] Hit Hack
jsteinborn Offline
Junior Member

Registered: 12/05/01
Posts: 20
Thanks!

Will this hack work with 6.7.2?

Top
#202616 - 03/15/05 11:29 AM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
yes

Top
#202617 - 03/15/05 11:31 AM Re: [6.7] [beta] Hit Hack
jsteinborn Offline
Junior Member

Registered: 12/05/01
Posts: 20
I installed this hack on a 6.7.2 board. I haven't received any errors. I do see the "Hits" column on a topic page, but no hits are listed.

Top
#202618 - 03/15/05 11:40 AM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Please verify that ubb_hits.cgi has been CHMODed to 755.

If it already is, can I have a link to the forum, and info for an account if it's member's only?

Top
#202619 - 03/15/05 11:46 AM Re: [6.7] [beta] Hit Hack
jsteinborn Offline
Junior Member

Registered: 12/05/01
Posts: 20
My bad, forgot to set permissions to that file. smile

Top
#202620 - 04/08/05 03:22 PM Re: [6.7] [beta] Hit Hack
Nycore Offline
Junior Member

Registered: 05/26/03
Posts: 20
Loc: NY
Just installed this on 6.7.0. My ultimatebb.php file had different lines but Ian helped me out.

Site seems to be the same speed so far under 5 users but we'll see tomorrow.

Also - I have no word "hits" displayed at the top but the numbers are shown. I do have var_worlets_mods.cgi uploaded. I also see the word "hits" in my admin panel and have the option to change the wording but that had no effect. Im guessing some other file was not correctly edited?

Top
#202621 - 04/11/05 12:45 PM Re: [6.7] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
You might double-check the spelling of the code that calls the word in your template, or just edit it to say "hits"
_________________________
- Allen wavey
- What Drives You?

Top
#202622 - 04/11/05 01:37 PM Re: [6.7] [beta] Hit Hack
Nycore Offline
Junior Member

Registered: 05/26/03
Posts: 20
Loc: NY
Quote:
Originally posted by AllenAyres:

You might double-check the spelling of the code that calls the word in your template, or just edit it to say "hits"


I changed the word "hits" to "views" in the control panel/worlets but still its blank. The worlets_mod file was updated with the new info but still theres no change. Its not a big deal though because the hits count is there its just that the column has no name to it.

Top
#202623 - 04/11/05 03:41 PM Re: [6.7] [beta] Hit Hack
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Stupid question, did you install the wordlets mod or did you just upload the wordlets file?
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#202624 - 04/11/05 04:18 PM Re: [6.7] [beta] Hit Hack
Nycore Offline
Junior Member

Registered: 05/26/03
Posts: 20
Loc: NY
Quote:
Originally posted by Gizzy:

Stupid question, did you install the wordlets mod or did you just upload the wordlets file?


Edit - Um ooops, thats what was missing.

The Worlets Mod should be updated thouigh. It says in the txt file 'FILES MODIFIED: cp.cgi, ultimatebb.cgi'.

But theres also vars_wordlets_cp2.cgi as per the instructions smile

Thanks, it works now by redoing the worlets_mods in the CP

Top
#202625 - 04/11/05 10:46 PM Re: [6.7] [beta] Hit Hack
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Yeh, sometimes even the most small of issues can render something useless wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#202626 - 04/12/05 02:12 AM Re: [6.7] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Quote:
Originally posted by Nycore:</font><hr />
<blockquote><font class="small">Originally posted by AllenAyres:
[qb]
You might double-check the spelling of the code that calls the word in your template, or just edit it to say "hits"
[/qb]


I changed the word "hits" to "views" in the control panel/worlets but still its blank. The worlets_mod file was updated with the new info but still theres no change. Its not a big deal though because the hits count is there its just that the column has no name to it.
<hr /></blockquote>

I meant in the template file itself, but glad you have it working now smile
_________________________
- Allen wavey
- What Drives You?

Top
#202627 - 04/12/05 09:50 AM Re: [6.7] [beta] Hit Hack
Nycore Offline
Junior Member

Registered: 05/26/03
Posts: 20
Loc: NY
Actually I just had errors today. Polls arent working. I got tons of lines about files relating to poles in the error message. I replaced the 3 files from the worlets_mods that I installed and it solved the problem but it removed the "hits" word. lol.

I know I goofed somewhere but figure Id post in the vent that someone lese had issues. I have to go through the install again and see where I sent wrong.

As it stands now my "hits" are working and the site is running normal I just have no word "hits".

Top
#202628 - 04/12/05 08:07 PM Re: [6.7] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
edit your template file where the word should appear to just say "hits" instead of $vars_wordlets_mods{hits} or whatever it says smile
_________________________
- Allen wavey
- What Drives You?

Top
#202629 - 04/16/05 08:33 AM Re: [6.7] [beta] Hit Hack
jsteinborn Offline
Junior Member

Registered: 12/05/01
Posts: 20
After a rent server upgrade my ubb with hit hack installed, has been displaying an error message. When i rebuild meta data i see the following.
Code:
  Insecure dependency in unlink while running setuid at /System/Library/Perl/File/Path.pm line 220.
and this in the debug info
Code:
 StandardHTML stack trace: 
at /Applications/4DWebSTAR/WebServer/forums/Templates//cp2_common.pl line 96

main::StandardHTML called at /Applications/4DWebSTAR/WebServer/forums/Templates//cp2_common.pl line 131

main::StandardHTML2() called at Modules/UBBCGI/Carp.pm line 150

UBBCGI::Carp::fatalsToBrowser() called at Modules/UBBCGI/Carp.pm line 86

UBBCGI::Carp::die() called at /System/Library/Perl/File/Path.pm line 220

File::Path::rmtree() called at /System/Library/Perl/File/Path.pm line 186

File::Path::rmtree() called at /Applications/4DWebSTAR/WebServer/cgi-bin/ubb_lib.cgi line 1623

main::ClearSingleForumPageCache() called at /Applications/4DWebSTAR/WebServer/cgi-bin/cp2_maint.cgi line 744

main::refreshwrapper_forumstats() called at /Applications/4DWebSTAR/WebServer/cgi-bin/cp2_maint.cgi line 279

main::refreshing called at cp.cgi line 526
 
any ideas of what might have happened.

Top
#202630 - 04/16/05 08:35 AM Re: [6.7] [beta] Hit Hack
jsteinborn Offline
Junior Member

Registered: 12/05/01
Posts: 20
Could i uninstall the hit hack? if so, how?

Top
#202631 - 04/16/05 10:06 AM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
do the exact opposite of how you installed it. where it told you to add something, remove it, etc

Top
#202632 - 04/25/05 03:13 PM Re: [6.7] [beta] Hit Hack
jsteinborn Offline
Junior Member

Registered: 12/05/01
Posts: 20
I reinstalled the hack and all the old hits are still visible in the ubb, however any new hits are not accounted for.

Any suggestions?

Top
#202633 - 04/25/05 10:54 PM Re: [6.7] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
You can view the old ones but you aren't writing any new ones, something in your install is off. You might try the multihack version, works for me smile
_________________________
- Allen wavey
- What Drives You?

Top
#202634 - 04/26/05 10:16 AM Re: [6.7] [beta] Hit Hack
jsteinborn Offline
Junior Member

Registered: 12/05/01
Posts: 20
hmmmm. i've checked the install. The hits are counting inside on the topic pages, just not on the forum summary page.

http://www.closingthegap.org/cgi-bin/ultimatebb.cgi

Top
#202635 - 04/26/05 10:17 AM Re: [6.7] [beta] Hit Hack
jsteinborn Offline
Junior Member

Registered: 12/05/01
Posts: 20
Where is the multihack version? If my problem cannot be solved, i'll take a look at multihack.

Top
#202636 - 04/26/05 11:34 AM Re: [6.7] [beta] Hit Hack
jsteinborn Offline
Junior Member

Registered: 12/05/01
Posts: 20
I rehacked the files again and it seems to be working. I'll take it as a small victory.

Thanks.

Top
#202637 - 07/17/05 03:31 AM Re: [6.7] [beta] Hit Hack
com Offline
Junior Member

Registered: 07/17/05
Posts: 1
Loc: med
Hello,

So if you want try:

http://medforum.meduni.com

Theres another one?

Thanks
com

Top
#202638 - 07/17/05 07:14 AM Re: [6.7] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Whachu talkin about com?
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#202639 - 09/24/05 01:42 PM Re: [6.7] [beta] Hit Hack
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 137
Loc: Columbus, OH
can not find cp_prune.cg
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#202640 - 09/24/05 05:13 PM Re: [6.7] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
You don't need it, it's on the "files modified" list but it's not really modified.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#202641 - 10/07/05 09:54 AM Re: [6.7] [beta] Hit Hack
_Cash Offline
User

Registered: 11/05/03
Posts: 35
The Hit hack doesn't seem to work in Opera browsers, can anyone confirm that ?

Top
#202642 - 10/07/05 04:06 PM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
fixes are posted earlier in this thread, believe page #2 or #3

Top
#202643 - 10/07/05 04:14 PM Re: [6.7] [beta] Hit Hack
_Cash Offline
User

Registered: 11/05/03
Posts: 35
D'oh! missed it

Thanks!

Top
#202644 - 10/27/05 02:52 AM Re: [6.7] [beta] Hit Hack
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 137
Loc: Columbus, OH
I'mnot ready to give up on this yet, can anyone help me out on how to fix this?

_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#202645 - 10/27/05 09:12 AM Re: [6.7] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
There could be a million possibilities of why won't it increase, re-do the hack from the beginning. Also check the permissions (CHMOD) of /ubb/ForumX/hits.cgi file, it should be set to 777.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#202646 - 10/28/05 03:59 PM Re: [6.7] [beta] Hit Hack
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 137
Loc: Columbus, OH
Its increasing fine, look at the collums
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#202647 - 10/28/05 09:40 PM Re: [6.7] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Oh.. re-do public_forum_page.pl, you didn't add the part which adds a column to the topics list correctly.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#202648 - 11/01/05 11:19 PM Re: [6.7] [beta] Hit Hack
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 137
Loc: Columbus, OH
I got it fixed, but which page can I not edit so this doesn't show up on the board summary?



I only wanted the views on the inside of the forums themselves.
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#202649 - 11/02/05 03:39 PM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
public_forum_summary.pl

Just undo everything you did there

Top
#202650 - 11/30/05 08:16 PM Re: [6.7] [beta] Hit Hack
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 137
Loc: Columbus, OH
Hit Hack and I have emotional issues.. I know I forgot something again, the Views isn't showing up above the numbers and I know I chmod'd everything on purpose to try to fix it.

_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#202651 - 11/30/05 09:53 PM Re: [6.7] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
that would mean either you haven't installed the mod wordlets modification, or you haven't modfied public_forum_page.pl correctly. If your users use english only on your forum, you can just put the actual word in that template and skip installed mod_wordlets. mod_wordlets are written into our modifications for our international members, but can always be written directly in whatever language you choose.
_________________________
- Allen wavey
- What Drives You?

Top
#202652 - 12/01/05 01:55 AM Re: [6.7] [beta] Hit Hack
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 137
Loc: Columbus, OH
I could try the forum page again.. I'll glance over the wordlets again as well.. I'll figure it out.. *collapses*
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#202653 - 12/09/05 10:38 PM Re: [6.7] [beta] Hit Hack
warden Offline
Member

Registered: 12/12/04
Posts: 39
i've done all the directions to get this to work and its not working

http://www.writerzblock.net/cgi-bin/ultimatebb.cgi

Am i missing something??

Top
#202654 - 12/10/05 01:10 AM Re: [6.7] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
You don't have a "vars_wordlets_mods.cgi" file under /cgi-bin.
Create a file called vars_wordlets_mods.cgi. Its content:
Code:
%vars_wordlets_mods = (
	q!count_on_click! => q!Hits!,
	q!count_on_click_lowercase! => q!hits!,
);
1;
Upload it to /cgi-bin.

Now go to public_forum_page.pl.
Find:
Code:
<b>$vars_wordlets_mods{count_on_click}</b></font>
Replace with:
Code:
<b>Hits</b></font>
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#202655 - 12/10/05 01:38 AM Re: [6.7] [beta] Hit Hack
warden Offline
Member

Registered: 12/12/04
Posts: 39
I did it and now see the hit col.
I dont see any numbers
did I do something wrong again

Top
#202656 - 12/10/05 03:47 AM Re: [6.7] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Seems like somebody edited your ubb_hits.cgi to add Opera support for some reason (although it should already support Opera).
Please re-upload a fresh ubb_hits.cgi file from the first message.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#202657 - 12/10/05 04:15 AM Re: [6.7] [beta] Hit Hack
warden Offline
Member

Registered: 12/12/04
Posts: 39
works now
THANKS ALOT

Top
#202658 - 12/26/05 01:02 AM Re: [6.7] [beta] Hit Hack
warden Offline
Member

Registered: 12/12/04
Posts: 39
on the post reply
i dont see the date
Is there a way i can add it in??

Top
#202659 - 12/26/05 02:27 AM Re: [6.7] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
the date? Is your question related to the "hit hack"?
_________________________
- Allen wavey
- What Drives You?

Top
#202660 - 12/26/05 12:05 PM Re: [6.7] [beta] Hit Hack
warden Offline
Member

Registered: 12/12/04
Posts: 39
Quote:
Originally posted by AllenAyres:

the date? Is your question related to the "hit hack"?


yes
I installed the hit hack

And I see the hits, but do not see the date of the post

Top
#202661 - 12/26/05 05:32 PM Re: [6.7] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Do you have a link to/example of the issue?
_________________________
- Allen wavey
- What Drives You?

Top
#202662 - 12/26/05 07:53 PM Re: [6.7] [beta] Hit Hack
warden Offline
Member

Registered: 12/12/04
Posts: 39
http://www.writerzblock.net/cgi-bin/ultimatebb.cgi

main page as you see only has the hit number
no date of the posts, and time

Top
#202663 - 12/27/05 02:21 PM Re: [6.7] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Redo public_forum_summary.pl.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#202664 - 12/27/05 05:56 PM Re: [6.7] [beta] Hit Hack
warden Offline
Member

Registered: 12/12/04
Posts: 39
i got it to work
thanks very much

Top
#202665 - 01/15/06 01:55 PM Re: [6.7] [beta] Hit Hack
Roopster Offline
Junior Member

Registered: 01/15/06
Posts: 5
Ok this is my 2nd hack I'm trying to install (just found this site yesterday). I installed the "hidden users" hack successfully however, I did not have luck with this one.

I'm on 6.7.3 release.

Here's what I did:

1) Installed Mod Wordlets http://www.ubbdev.com/ubb/ultimatebb.php/topic/33/71.html#000000

2) Downloaded the files in the first post here and followed all directions in the hits.txt file. I added the ubb_hits.cgi (set permissions correctly) and modified all the files per instructions.

3) Cleared Cache

Looks like ..ForumX/hits.cgi files are being updated.

FORUM: http://www.christianityforums.com

Help!

Paul

Top
#202666 - 01/15/06 11:36 PM Re: [6.7] [beta] Hit Hack
Roopster Offline
Junior Member

Registered: 01/15/06
Posts: 5
Just went back over the entire instructions in the hits.txt file from the first post on this thread checking the files ON the server itself and everything checked out.

Paul

Top
#202667 - 01/16/06 08:12 AM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Verify you did the following step
Code:
*****************************
* Open public_forum_page.pl *
*****************************

Find: (~205)
=====

	my $page_bottom = qq~

Add below:
==========

<script type="text/javascript" src="$vars_config{CGIURL}/ubb_hits.cgi?forum=$in{f};topics=$topicnums"></script>

Top
#202668 - 01/16/06 11:26 AM Re: [6.7] [beta] Hit Hack
Roopster Offline
Junior Member

Registered: 01/15/06
Posts: 5
Ian,

Thanks for the reponse. I did verify the above. It appears to be correct.

Paul

Top
#202669 - 01/19/06 10:24 AM Re: [6.7] [beta] Hit Hack
Roopster Offline
Junior Member

Registered: 01/15/06
Posts: 5
I went over this again and everything seems to check out. I'm willing to give one of the mods temporary ftp access if needed.

Thanks,
Paul

Top
#202670 - 01/23/06 10:07 PM Re: [6.7] [beta] Hit Hack
Roopster Offline
Junior Member

Registered: 01/15/06
Posts: 5
Any chance that someone can help me out here. I'm willing to pay for service.

Top
#202671 - 01/24/06 07:18 AM Re: [6.7] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
I'll do it for free but I can't do it till the weekend. Email ispence {AT} gmail {D0T} com with the information for ftp. (You could also just send a Private message with the info here) I'll be able to do everything with that info.

Top
Page 1 of 6 1 2 3 4 5 6 >



Moderator:  Charles, Gizmo 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks